/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TemplateStateEnum extends StringEnum
{
    public static final String FORBIDDEN_VALUE = "10";
    public static final String STARTUSING_VALUE = "20";
    public static final String ADDNEW_VALUE = "30";

    public static final TemplateStateEnum forbidden = new TemplateStateEnum("forbidden", FORBIDDEN_VALUE);
    public static final TemplateStateEnum startUsing = new TemplateStateEnum("startUsing", STARTUSING_VALUE);
    public static final TemplateStateEnum addnew = new TemplateStateEnum("addnew", ADDNEW_VALUE);

    /**
     * construct function
     * @param String templateStateEnum
     */
    private TemplateStateEnum(String name, String templateStateEnum)
    {
        super(name, templateStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TemplateStateEnum getEnum(String templateStateEnum)
    {
        return (TemplateStateEnum)getEnum(TemplateStateEnum.class, templateStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TemplateStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TemplateStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TemplateStateEnum.class);
    }
}